package com.cjm.one.common.constant;

public class RedisConstants {
    //后台用户token
    public static final String SYS_USER_LOGIN_KEY_TOKEN = "sys:user:login:token:";
    public static final String APP_USER_LOGIN_KEY_TOKEN = "app:user:login:token:";
    public static final String SYS_USER_LOGIN_KEY_REFRESH_TOKEN = "sys:user:login:refresh:token";
    //后台验证码key
    public static final String CAPTCHA_IMG_KEY = "sys:captcha_img_key:value:";


    //后台验证码key
    public static final String CAPTCHA_SMSCODE_KEY_EXPIRE = "sys:captcha_smsCode_key:value:";
    public static final String CAPTCHA_MOBLECODE_KEY_EXPIRE = "sys:captcha_mobleCode_key:value:";
    //后台验证码过期时间
    public static final int CAPTCHA_IMG_EXPIRE = 60 * 5;
    //邮箱验证码过期时间
    public static final int CAPTCHA_SMS_CODE_EXPIRE = 60 * 5;
    //手机验证码过期时间
    public static final int CAPTCHA_MOBLE_CODE_EXPIRE = 60 * 5;
    //发送邮件验证码的间隔时间
    public static final String EMAIL_LIMIT_EXPIRE = "email:limit_expire";
    public static final String EMAIL_CODE_KEY = "email:code_key";

    public static final String MOBILE_CODE_KEY = "mobile:code_key";

    // 订单取消延迟队列
    public static final String ORDER_CANCEL_DELAY_QUEUE = "order:cancel:delay";
}
